package com.etc.common;

import org.springframework.core.convert.converter.Converter;

import java.util.Date;

/**
 *
 */
public class StringToDateConverter implements Converter<String, Date> {
    @Override
    public Date convert(String s) {
        
       return DateUtil.toDatefomartYMD(s);
    }
}
